﻿<?xml version="1.0" encoding="utf-8" ?>
<GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
  <MainboardDefinitions>
	<!-- This mainboard definition should be filled in.  Mouse over any attribute name to get more help about that attribute. -->
	<MainboardDefinition
			Name="FEZSpider II"
			Type="GHIElectronics.Gadgeteer.FEZSpider_II"
			HardwareVersion="1.0"
			Image="Resources\Image.jpg"
			BoardWidth="57.15"
			BoardHeight="61.07"
			MinimumGadgeteerCoreVersion="2.42.500"
			HelpUrl="http://www.ghielectronics.com/catalog/product/432"
            >

	  <Power>
		<PowerRequirements Voltage="3.3">
		  <TypicalCurrent>0.085</TypicalCurrent>
		  <MaximumCurrent>0.140</MaximumCurrent>
		</PowerRequirements>

		<PowerRequirements Voltage="5">
		  <TypicalCurrent>0.0</TypicalCurrent>
		  <MaximumCurrent>0.0</MaximumCurrent>
		</PowerRequirements>
	  </Power>

	  <Assemblies>
		<!-- This lists the assemblies which provides the API to this mainboard, i.e. the output assemblies of this template. -->
		<!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
		<!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
		<!-- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZSpider_II"/> -->
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZSpider_II"/>

		<!-- If your mainboard driver relies on another assembly, then list it here (and see the msm.wxs file since you need to include it in the installer too), e.g.: -->
		<!--
        <Assembly MFVersion="4.1" Name="GHIElectronics.CustomAssembly"/>
        <Assembly MFVersion="4.2" Name="GHIElectronics.CustomAssembly"/>
        -->
	  </Assemblies>

	  <!-- This is a list of sockets provided by this mainboard for modules to be attached to. -->
	  <ProvidedSockets>
		<ProvidedSocket Label="1" Left="14.07" Top="6.13" Orientation="90" ConstructorParameter="1">
		  <Types>
			<Type>F</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>
		<ProvidedSocket Label="2" Left="28.4" Top="6.04" Orientation="90" ConstructorParameter="2">
		  <Types>
			<Type>Z</Type>
		  </Types>
		</ProvidedSocket>
		<ProvidedSocket Label="3" Left="42.91" Top="6.13" Orientation="90" ConstructorParameter="3">
		  <Types>
			<Type>I</Type>
			<Type>U</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="4" Left="5.72" Top="19.34" Orientation="180" ConstructorParameter="4">
		  <Types>
			<Type>I</Type>
			<Type>K</Type>
			<Type>U</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="5" Left="18.64" Top="19.17" Orientation="180" ConstructorParameter="5">
		  <Types>
			<Type>C</Type>
			<Type>S</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="SPI2MOSI" SocketPin="7"/>
			<SharedPinMap NetId="SPI2MISO" SocketPin="8"/>
			<SharedPinMap NetId="SPI2SCK" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="6" Left="38.51" Top="19.34" Orientation="0" ConstructorParameter="6">
		  <Types>
			<Type>A</Type>
			<Type>I</Type>
			<Type>T</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="7" Left="51.35" Top="19.25" Orientation="0" ConstructorParameter="7">
		  <Types>
			<Type>D</Type>
			<Type>I</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="8" Left="5.8" Top="33.25" Orientation="180" ConstructorParameter="8">
		  <Types>
			<Type>S</Type>
			<Type>U</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="SPI2MOSI" SocketPin="7"/>
			<SharedPinMap NetId="SPI2MISO" SocketPin="8"/>
			<SharedPinMap NetId="SPI2SCK" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="9" Left="18.55" Top="33.34" Orientation="180" ConstructorParameter="9">
		  <Types>
			<Type>A</Type>
			<Type>I</Type>
			<Type>O</Type>
			<Type>X</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="10" Left="38.25" Top="33.34" Orientation="0" ConstructorParameter="10">
		  <Types>
			<Type>P</Type>
			<Type>U</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>
		<ProvidedSocket Label="11" Left="51" Top="33.25" Orientation="0" ConstructorParameter="11">
		  <Types>
			<Type>H</Type>
			<Type>I</Type>
		  </Types>
		  <SharedPinMaps>
			<SharedPinMap NetId="I2CSDA" SocketPin="8"/>
			<SharedPinMap NetId="I2CSCL" SocketPin="9"/>
		  </SharedPinMaps>
		</ProvidedSocket>
		<ProvidedSocket Label="12" Left="13.89" Top="46.47" Orientation="270" ConstructorParameter="12">
		  <Types>
			<Type>B</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>
		<ProvidedSocket Label="13" Left="28.14" Top="46.47" Orientation="270" ConstructorParameter="13">
		  <Types>
			<Type>G</Type>
		  </Types>
		</ProvidedSocket>
		<ProvidedSocket Label="14" Left="42.55" Top="46.73" Orientation="270" ConstructorParameter="14">
		  <Types>
			<Type>R</Type>
			<Type>Y</Type>
		  </Types>
		</ProvidedSocket>
	  </ProvidedSockets>


	  <LibrariesProvided>
		<!-- This should be filled in with a list of assemblies provided by the mainboard which are not the standard NETMF assemblies.  Delete the example "CustomMFAssembly" below. -->
		<!-- Providing this list allows the designer to automatically determine when a module that only works with specific mainboards is compatible with the current mainboard. -->
		<!--
				<Assembly MFVersion="4.1" Name="CustomMFAssembly"/>
				<Assembly MFVersion="4.2" Name="CustomMFAssembly"/>
				-->

		<Assembly MFVersion="4.2" Name="GHI.Premium.Hardware"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Hardware.EMX"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.System"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.IO"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Native"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.Net"/>
		<Assembly MFVersion="4.2" Name="GHI.Premium.USBHost"/>

		<Assembly MFVersion="4.3" Name="GHI.Premium.Hardware"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Hardware.EMX"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.System"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.IO"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Native"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.Net"/>
		<Assembly MFVersion="4.3" Name="GHI.Premium.USBHost"/>

		<!-- The mainboard assembly itself (as listed under <Assemblies> above) should also be listed here, to enable modules representing built-in functionality of a mainboard.-->
		<Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.FEZSpider_II" />
		<Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.FEZSpider_II" />
		<Assembly MFVersion="4.3" Name="GHIElectronics.Gadgeteer.FEZSpider_II" />
	  </LibrariesProvided>

	</MainboardDefinition>
  </MainboardDefinitions>
</GadgeteerDefinitions>